import axios from "axios";
import Result from "@/ts/returnType.ts";

const confirmAqiDataApi = (params: object) : Promise<Result> => {
    return axios({
        url: '/confirmAqiData',
        method: 'get',
        params
    })
}

const confirmAqiDataByIdApi = (id: string) : Promise<Result> => {
    return axios({
        url: `/confirmAqiData/${id}`,
        method: 'get'
    })
}


export { confirmAqiDataApi, confirmAqiDataByIdApi}
